package com.itheima.dao;

import com.itheima.pojo.Role;

import java.util.List;
import java.util.Set;

public interface RoleDao {
    public  List<Role> findAll();

    public Set<Role> findByUserId(Integer userId);
    //通过权限id查角色
    public long selectCountByPermissionId(Integer permisssionId);
}
